{include file="public/header" /}
<link rel="stylesheet" href="/static/admin/css/welcome.css" media="all">
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space8">
        {foreach name="list" item="vo"}
        <div class="layui-col-md12">
            <div class="layui-card h170">
                <div class="card-rows">
                    <div class="layui-card-header">{$vo.title}</div>
                    <div class="layui-row card-rows-fast">
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">
                                <div class="right right-onec">
                                    <p class="right-top">昨日</p>
                                    <p class="right-button counter">
                                        {:in_array($vo.key, ['formal_user', 'ordinary_user'])?intval($vo.yesterday):$vo.yesterday}
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">
                                <div class="right right-onec">
                                    <p class="right-top">今日</p>
                                    <p class="right-button counter">
                                        {:in_array($vo.key, ['formal_user', 'ordinary_user'])?intval($vo.today):$vo.today}
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">
                                <div class="right right-onec">
                                    <p class="right-top">上周</p>
                                    <p class="right-button counter">
                                        {:in_array($vo.key, ['formal_user', 'ordinary_user'])?intval($vo.last_week):$vo.last_week}
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">
                                <div class="right right-onec">
                                    <p class="right-top">本周</p>
                                    <p class="right-button counter">
                                        {:in_array($vo.key, ['formal_user', 'ordinary_user'])?intval($vo.week):$vo.week}
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">
                                <div class="right right-onec">
                                    <p class="right-top">上月</p>
                                    <p class="right-button counter">
                                        {:in_array($vo.key, ['formal_user', 'ordinary_user'])?intval($vo.last_month):$vo.last_month}
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">
                                <div class="right right-onec">
                                    <p class="right-top">本月</p>
                                    <p class="right-button counter">
                                        {:in_array($vo.key, ['formal_user', 'ordinary_user'])?intval($vo.month):$vo.month}
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">
                                <div class="right right-onec">
                                    <p class="right-top">本年</p>
                                    <p class="right-button counter">
                                        {:in_array($vo.key, ['formal_user', 'ordinary_user'])?intval($vo.year):$vo.year}
                                    </p>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">
                                <div class="right right-onec">
                                    <p class="right-top">汇总</p>
                                    <p class="right-button counter">
                                        {:in_array($vo.key, ['formal_user', 'ordinary_user'])?intval($vo.sum):$vo.sum}
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        {/foreach}
        <div class="layui-col-md12">
            <div class="layui-card h170">
                <div class="card-rows">
                    <div class="layui-card-header">账户统计</div>
                    <div class="layui-row card-rows-fast">
                        {foreach name="assets" item="vo"}
                        <div class="layui-col-xs4">
                            <div class="card-rows-item">
                                <div class="right right-onec">
                                    <p class="right-top">{$vo.title}</p>
                                    <p class="right-button counter">{$vo.sum}</p>
                                </div>
                            </div>
                        </div>
                        {/foreach}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
{include file="public/footer" /}
</html>